echo "Student username:";
read name;
echo "Teacher username:";
read tname;
useradd -d /home/shared/$name -m -p $name $name;
chown -R $tname:$name /home/shared/$name;
# Zet de rechten van de student op rwx
setfacl -m g::rwx /home/shared/$name;
# Zet de rechten van de rest op ---
setfacl -m o::--- /home/shared/$name;
echo "Done";
